package com.fu.web.mapper;

import com.fu.web.entity.departments;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface departmentsMapper {
    int deleteByPrimaryKey(String departmentId);
    List<departments> selectAll();

    int insert(departments record);

    int insertSelective(departments record);

    departments selectByPrimaryKey(String departmentId);

    int updateByPrimaryKeySelective(departments record);

    int updateByPrimaryKey(departments record);
}